package com.company.huisuo.biz.bean

import com.google.gson.annotations.SerializedName

/**
 * 登录响应数据模型
 */
data class LoginResponse(
    @SerializedName("code")
    val code: Int,
    
    @SerializedName("msg")
    val message: String,
    
    @SerializedName("data")
    val data: LoginData?
)

/**
 * 登录数据
 */
data class LoginData(
    @SerializedName("userId")
    val userId: String,
    
    @SerializedName("accessToken")
    val accessToken: String,
    
    @SerializedName("refreshToken")
    val refreshToken: String,
    
    @SerializedName("expiresTime")
    val expiresTime: Long
)